#include <QtGui/QApplication>
#include "mainwindow.h"
using namespace std;
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    MainWindow w;
    child c;

    c.showw(5,4);
    c.layout.addWidget(&c.lineedit);
    c.widget.setLayout(&c.layout);
    c.setCentralWidget(&c.widget);

    c.show();

    return a.exec();
}
